# Copyright 2008 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


from django.conf.urls.defaults import *

urlpatterns = patterns(
    'blog',
    (r'^$', 'varticle.list'),
    
    (r'^vuser$', 'vuser.list'),
    (r'^vuser/add$', 'vuser.add'),
    (r'^vuser/edit/(\d+)$', 'vuser.edit'),
    (r'^vuser/check_ajax$', 'vuser.check_ajax'),
    
    (r'^varticle$', 'varticle.list'),
    (r'^varticle/view/(\d+)$', 'varticle.view'),
    (r'^view/(\d+)$', 'varticle.view'),
    (r'^user/varticle/add$', 'varticle.add'),
    (r'^user/varticle/edit/(\d+)$', 'varticle.edit'),
    (r'^user/varticle/delete/(\d+)$', 'varticle.delete'),
    (r'^varticle/image/(\d+)$', 'varticle.image'),
    (r'^varticle/listAjax$', 'varticle.listAjax'),
    
    (r'^user/vchat$', 'vchat.list'),
    (r'^vchat$', 'vchat.list'),
    (r'^vchat/list_ajax$', 'vchat.list_ajax'),
    (r'^vchat/listComment$', 'vchat.listComment'),
    (r'^vchat/add$', 'vchat.add'),
    (r'^user/vchat/edit/(\d+)$', 'vchat.edit'),
    (r'^user/vchat/delete/(\d+)$', 'vchat.delete'),
    
    (r'^vcate$', 'vcate.list'),
    (r'^user/vcate/add$', 'vcate.add'),
    (r'^user/vcate/edit/(\d+)$', 'vcate.edit'),
    (r'^user/vcate/delete/(\d+)$', 'vcate.delete'),
    
    (r'^vmember$', 'vmember.list'),
    (r'^user/vmember/add$', 'vmember.add'),
    (r'^user/vmember/edit/(\d+)$', 'vmember.edit'),
    (r'^user/vmember/delete/(\d+)$', 'vmember.delete'),
    (r'^vmember/image/(\d+)$', 'vmember.image'),
    
    (r'^config$', 'config.list'),
    (r'^config/add$', 'config.add'),
    (r'^config/edit/(\d+)$', 'config.edit'),
    (r'^config/delete/(\d+)$', 'config.delete'),
    
    )
    

